<?php

namespace app\service;



use app\popo\dto\EditPasswordRequest;
use app\popo\model\Employee;

interface EmployeeService
{
    /**
     * 员工登录
     * @return mixed
     */
    public function login(array $employeeLoginDTO);

    public function pageQuery(array $employeePageQueryDTO);

    public function save(array $employeeDTO);

    public function getById(int $id) : Employee | null;

    public function startOrStop(int $status, int $id);

    public function update(array $employeeDTO);

    public function editPassword(EditPasswordRequest $editPasswordRequest);
}